﻿#ifndef CPLATICON_H
#define CPLATICON_H

#include <QColor>
#include <QSize>
#include <QJsonObject>
#include <QPixmap>
#include <shlib/quc_sdk/iconhelper/icon_helper.h>


class CPlatIcon {
public:
    int icon = 0xf5fd;
    int iconsize = 28;
    QSize pixsize = QSize(30, 30);
    QColor color = QColor("#63E6BE");
    IconHelper::EFonts family = IconHelper::FontAwesome6Solid;
public:
    explicit CPlatIcon();
    QJsonObject toJson();
    void fromJson(const QJsonObject& obj);
    QPixmap getPix();
signals:

private:

};

#endif // CPLATICON_H
